package com.foreknow.dao;

import com.foreknow.entity.RegistLevel;
import com.foreknow.entity.User;

import java.util.List;

public interface RegistLevelMapper {
    /**
     * 通过id删除
     * @param id
     * @return
     */
    int deleteByPrimaryKey(Integer id);

    /**
     * 增加用户
     * @param registLevel
     * @return
     */
    int insert(RegistLevel registLevel);

    /***
     *
     * @param registLevel
     * @return
     */
    int insertSelective(RegistLevel registLevel);

    /**
     * 通过id查询用户
     * @param id
     * @return
     */
    RegistLevel selectByPrimaryKey(Integer id);

    /**
     * 查询
     * @param
     * @return
     */
    List<RegistLevel> quetyAll(RegistLevel registLevel);

    int updateByPrimaryKeySelective(RegistLevel registLevel);

    /**
     * 修改用户
     * @param registLevel
     * @return
     */
    int updateByPrimaryKey(RegistLevel registLevel);

    /**
     * 批量删除
     */
    Integer deleteRegisteById(List<Integer> ids);
}